package com.bruce.springcloud.provider.payment;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import javax.annotation.ManagedBean;

@SpringBootApplication
@ManagedBean
@EnableEurekaClient
@EnableDiscoveryClient
public class OrderPaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderPaymentApplication.class,args) ;
    }
}
